
<template>
    <div class="grid-card">
        <div class="grid-card-header">
            <el-tabs v-model="activeName" @tab-click="handleClick">
                <el-tab-pane label="扩展记录" name="first"></el-tab-pane>
                <el-tab-pane label="认领记录" name="second"></el-tab-pane>
                <el-tab-pane label="用户公海" name="third"></el-tab-pane>
            </el-tabs>
        </div>
        <div class="grid-card-body">
            <lar-table model="common.user"></lar-table>
        </div>
    </div>
</template>

<script>
    import base from '../base.js';
    export default {
        extends: base,
        name: "user-model",
        props: {},
        data() {
            return {
                activeName: 'first'
            }
        },
        methods: {
            handleClick(tab, event) {
                console.log(tab, event);
            }
        }
    }
</script>
<style lang="less">
    .grid-card{
        .el-tabs__nav-wrap::after{
            height:0 !important;
        }
        .el-tabs__item.is-active{
            color: #009688 !important;
        }
        .el-tabs__active-bar{
            background-color: #009688 !important;
        }
        .el-tabs__item{
            font-size: 16px;
        }
    }

</style>
<style scoped lang="less">
    .grid-card {
        width: 100%;
        padding-bottom: 20px;
        min-width: 300px;

        .grid-card-header {
            height: 43px;
            line-height: 44px;
            padding: 0 30px;
            border-bottom: 1px solid #f6f6f6;
            border-radius: 2px 2px 0 0;
            font-size: 16px;
            color: #000;
        }
        .grid-card-body{

        }
    }
</style>
